package cn.com.chengmandian.erp.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * ERP系统-业务订单开票信息
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("erp_order_invoice")
@ApiModel(value = "ErpOrderInvoice对象", description = "ERP系统-业务订单开票信息")
public class ErpOrderInvoice implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("关联订单ID")
    private Integer orderId;

    @ApiModelProperty("开票状态 1-开票中 2-已开票 3-已邮寄 4-已签收")
    private Integer status;

    @ApiModelProperty("开票状态说明")
    private String message;

    @ApiModelProperty("开票类型 1-增值税专用发票 2-普通发票")
    private Integer type;

    @ApiModelProperty("开票信息")
    private String content;

    @ApiModelProperty("开票时间")
    private Date makeTime;

    @ApiModelProperty("开票金额")
    private BigDecimal money;

    @ApiModelProperty("发票信息")
    private String invoiceNo;

    @ApiModelProperty("邮寄地址")
    private String postAddress;

    @ApiModelProperty("邮寄联系人")
    private String postContactName;

    @ApiModelProperty("邮寄联系人电话")
    private String postContactMobile;

    @ApiModelProperty("邮寄单号")
    private String postExpressNo;

    @ApiModelProperty("邮寄时间")
    private Date postTime;

    @ApiModelProperty("签收时间")
    private Date signTime;

    @ApiModelProperty("申请人")
    private Integer createUser;

    @ApiModelProperty("申请人姓名")
    private String createName;

    @ApiModelProperty("申请时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

}
